package com.atguigu.spring.aop.xml;

import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * @author wk
 * @create 2021-06-03 13:10
 */
@Component
public class ValidateAspect {
    @Before("execution(* com.atguigu.spring.aop.com.atguigu.spring.tx.annotation.*.*(..))")
    public void test(){
        System.out.println("ValidateAspect 前置通知");
    }
}
